Parsely\Endpoints\User_Meta\Base_Endpoint_User_Meta S

Total Complexity 50
Dependencies 2
Dependents 0
Total lines 364
Lines of code 150
Logical lines of code 85
Comment lines 163
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
sanitize_subvalue()
S
53 7 23
sanitize_value()
S
55 7 18
is_valid_key()
S
56 6 18
get_valid_values()
S
60 6 14
get_default()
S
60 5 14
get_nested_specs()
S
61 4 12
get_value()
S
63 4 9
set_value()
S
63 2 12
__construct()
S
66 2 8
process_request()
S
67 2 8
get_meta_key()
S
100 1 0
get_subvalues_specs()
S
100 1 0
run()
S
68 1 8
get_route()
S
81 1 3
is_available_to_current_user()
S
79 1 3